<?php
   $host = "localhost";
   $usuario ="Magsi";
   $clave = "Magsi";
   $db="magsi_db";

	$conectarBD = new mysqli($host, $usuario, $clave, $db);
	if ($conectarBD->connect_errno) 
	{
    	echo "No hay coneccion con la Base de Datos  : ".$conectarBD->connect_error;
    	exit();
	} 
?>